{if $user['theme']}
<link rel="stylesheet" type="text/css" href="{baseurl}assets/themes/$user['theme']/style.css">
{/if}
<link rel="stylesheet" type="text/css" href="{echo userres($user['user_id'],'bg','css')}">
<div class="container staruser-header clearfix">
</div>
<div class="container staruser-profile clearfix">
	<div class="span12 profile">
		<div class="pf-head">
			<div class="pf-head-pic"><img src="{avatar($user['user_id'],'large')}" class="avatar"></div>
			<div class="pf-head-counter">
				<ul class="profile-tabs unstyled">
					<li class="followers">
							<a href="{url home/fans?uid=$user['user_id']}">
							<span class="count">$user['total_follower']</span>
							<span class="meta">{lang fans}</span>
						</a>
					</li>
					<li class="following">
							<a href="{url home/following?uid=$user['user_id']}">
							<span class="count">$user['total_follow']</span>
							<span class="meta">{lang follow}</span>
						</a>
					</li>
					<li class="shares">
							<a href="{url home/share?uid=$user['user_id']}">
							<span class="count">$user['total_share']</span>
							<span class="meta">{lang share}</span>
						</a>
					</li>
				</ul>
			</div>
		</div>
		
		<div class="pf-info">
			<h2>$user['nickname'] <small>$user['system']['usergroup_name'] | 
			<span class="dropdown">
                <a class="dropdown-toggle" data-toggle="dropdown">$user['credits']['name']:$user['credits']['value']<span class="caret"></span></a>
                <div class="dropdown-menu no-minwidth">$user['credits1']['name']:$user['credits1']['value'] | $user['credits2']['name']:$user['credits2']['value'] | $user['credits3']['name']:$user['credits3']['value']</div>
              </span>  $relationView</small></h2>
			
			<p>{if $user['bio']}$user['bio']{else}{lang no_desc}{/if}</p>
			<ul class="profile-details unstyled nav nav-pills">
				<li><a href="javascript:void(0);" class="{if $user['gender']=='female'}female{else}male{/if}" rel="me">{if $user['gender']}{echo lang($user['gender'])}{else}{lang keep_secret}{/if}</a></li>
				<li>
					<a href="javascript:void(0);" class="locality">{if $user['province']}{$user['province']}-{$user['city']}{else}{lang earth}{/if}</a>
				</li> 
				{if $user['domain']}
				<li><a href="{url home/domain?sname=$user['domain']}" class="url" rel="me" target="_blank">{echo host_url()}{url home/domain?sname=$user['domain']}</a></li>
				{/if}
			</ul>
		</div>
		<div class="pf-ext">
			<span class="badge badge-warning mt20">$user['star']['category_name']</span>
		</div>
	</div>
</div>